﻿package com.task.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class Task implements Serializable {

	private Integer taskId;
	
	private String taskName;
	
	//1代表重要紧急 2代表重要不紧急 3代表紧急不重要 4代表不紧急不重要 0代表未分类(属于收纳箱)
	private int taskType;
	
    private Date taskDate;
	
	private User taskUser;
	
	private int taskState=0;
	
	private Task task;
	
	private int delay=0;
	
	private Set<Task> tasks=new HashSet<Task>();

	 
	public Set<Task> getTasks() {
		return tasks;
	}

	public void setTasks(Set<Task> tasks) {
		this.tasks = tasks;
	}

	public Integer getTaskId() {
		return taskId;
	}

	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public int getTaskType() {
		return taskType;
	}

	public void setTaskType(int taskType) {
		this.taskType = taskType;
	}

	public Date getTaskDate() {
		return taskDate;
	}

	public void setTaskDate(Date taskDate) {
		this.taskDate = taskDate;
	}

	public User getTaskUser() {
		return taskUser;
	}

	public void setTaskUser(User taskUser) {
		this.taskUser = taskUser;
	}

	public int getTaskState() {
		return taskState;
	}

	public void setTaskState(int taskState) {
		this.taskState = taskState;
	}

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public int getDelay() {
		return delay;
	}

	public void setDelay(int delay) {
		this.delay = delay;
	}

	 
}
